home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / source / gblanker3.5.src.lha / GSource / Blankers / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-04  |  754 b   |  28 lines

  1. #ifndef MAIN_H
  2. #define MAIN_H
  3.  
  4. #include <clib/dos_protos.h>
  5.  
  6. extern struct Library *GarshnelibBase;
  7. extern struct MsgPort *ClientPort;
  8. extern VOID *CurPrefs;
  9.  
  10. LONG MessageServer( LONG );
  11. LONG HandleSignal( LONG );
  12. LONG ContinueBlanking( VOID );
  13. VOID SavePrefs( VOID * );
  14. VOID *LoadPrefs( BYTE *  );
  15.  
  16. LONG Blank( VOID * );
  17. VOID FillDefaults( VOID * );
  18. VOID DoPrefs( LONG, VOID * );
  19. LONG WndSignal( VOID );
  20. struct Screen *ModuleScreen( VOID );
  21.  
  22. #define Inc( Value, Amt, Max ) (( Value + Amt > Max )?( Value = Max ):( Value = Value + Amt ))
  23. #define Dec( Value, Amt, Min ) (( Value - Amt < Min )?( Value = Min ):( Value = Value - Amt ))
  24. #define ComputeX( x ) ((( FontX * x ) + 4 ) / 8 )
  25. #define ComputeY( x ) ((( FontY * x ) + 4 ) / 8 )
  26.  
  27. #endif /* MAIN_H */
  28.